package cn.cdeden.knowledge.mapper;

import cn.cdeden.knowledge.domain.TeamRole;
import cn.cdeden.knowledge.domain.dto.TeamRoleDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author Chen
* @date 2022-11-22
*/
@Repository
public interface TeamRoleMapper extends BaseMapper<TeamRole> {

    List<TeamRoleDto> getSupremeAuthority(String teamId);

    List<TeamRoleDto> getNextToOwner(String teamId);
}
